package com.emato.cus.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author hhq
 * @version 1.0.0
 * 2020/7/3
 */
@Configuration
@PropertySource(value = "classpath:application.yml", encoding = "UTF-8")
public class TaskConfig {

    @Value("${task.corn}")
    private String corn;

    public String getCorn() {
        return corn;
    }

    public void setCorn(String corn) {
        this.corn = corn;
    }
}
